package src.com.doit.Demo07;

public class Zi extends Fu {
    String name = "子类名字";

    public void method() {
        String name = "局部名字";
        System.out.println(name);
        System.out.println(this.name);
        System.out.println(super.name);
        System.out.println(age);

        this.show();
        super.show();
        show2();

    }
    public void show()
    {
        System.out.println("Zi");
    }
}
